<?php 
namespace Web\Controller;
use Think\Controller;
class IndexController extends Controller{
	
	public function index(){
		$this->display();
	}
	
	public function article(){
		$this->display();
	}
	
	public function get_vedio_test(){
		//测试用;
		$article = array(
			'id'=>1,
			'title'=>'这是标题',
			'summary' => '这是简介这是简介这是那简介',
			'pic' => 'http://img.56class.cn/o_1amsc3ql3h6r13ft12gkegm7rh9.mp4?vframe/jpg/offset/5',
			'vediourl' => 'http://img.56class.cn/o_1amsc3ql3h6r13ft12gkegm7rh9.mp4',
		);
		
		for($i = 0 ; $i < 8 ; $i++){
			$result[] = $article;
		}
		
		_apiReturn(1,'获取成功',$result);
	}	
	
	public function get_vedio_detail_test(){
		$article = array(
			'id'=>1,
			'title'=>'这是标题',
			'summary' => '这是简介这是简介这是那简介',
			'pic' => 'http://img.56class.cn/o_1amsc3ql3h6r13ft12gkegm7rh9.mp4?vframe/jpg/offset/5',
			'vediourl' => 'http://img.56class.cn/o_1amsc3ql3h6r13ft12gkegm7rh9.mp4',
		);
		
		
		_apiReturn(1,'获取成功',$article);
	}
}
?>